import req from "@/utils/req"
import { getWordReview, addWordReview } from '@/views/home/dataModel'

// const UPLOAD_PATH = process.env.UPLOAD_PATH as string
const UPLOAD_PATH = ''
const getQiniuToken = () => req.get(UPLOAD_PATH)

const uploadFile = (data: any) => req.post(UPLOAD_PATH, data)





export { getQiniuToken, uploadFile, getWordReview, addWordReview }
